package org.keyyond.ms.business.service;

import javax.servlet.http.HttpServletRequest;

import org.keyyond.ms.business.model.MsBusinessMessageLog;

/**
 * @author zhuyong
 * @belong to Shccs
 * @date:2018-1-19(V1.0)
 * @date:2018-1-19(V1.0)
 * @version : V1.0
 */
public interface MsBusinessMessageLogService {
	
	/**
	 * 添加日志
	 * 
	 * @author zhuyong
	 * @since 2018-1-19
	 * @category </br>添加日志</br>
	 *           
	 * @param param
	 *            | string | 必填  json格式日志对象
	 * @return <b>[成功返回]：</b><b>{:成功}</br> <b>[失败返回]:</b><b>{exception:}</br>
	 * @exception 
	 */
	public String addSmsMessageLog(String param);
	
	 /**
     * 分页查询
     * @author zhuyong
     * @param param 保存查询条件的Josn字符串
     * @param request 请求对象
     * @return 分页查询的日志JsonList数据
     */
	 /**
	  * 分页查询
	  * 
	  * @author zhuyong
	  * @since 2018-1-19
	  * @category </br>分页查询</br>
	  *           
	  * @param request
	  *            | HttpServletRequest | 必填  
	  * @param param
	  *            | string | 必填  jsonStr
	  * @return <b>[成功返回]:集合格式化的json字符串</br>
	  * @exception 
	  */
    public String getSelectListByPage(HttpServletRequest request,String param);
    
    /**
 	 * 短信接口非法调用判断
 	 * 
 	 * @author YCR
 	 * @since 2018-1-19
 	 * @category </br>短信接口非法调用判断</br>
 	 *           
 	 * @param request
	 *            | HttpServletRequest | 必填  
	 * @param param
	 *            | string | 必填  jsonStr
 	 * @return <b>[成功返回]：</b><b>{result:true}</br> <b>[失败返回]:</b><b>{result:false,errmsg:}</br>
 	 * @exception 
 	 */
    public String canUserResetPassword(HttpServletRequest request, String param);
    
    public int saveLog(MsBusinessMessageLog businessMessageLog);

}
